/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.webhomesites.padrao.utils;

/**
 *
 * @author Webhome
 */
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;
 
@MappedSuperclass
public class AbstractEntity {
    private Long id;
 
    @Id @Column(name="codigo")
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
}